/// id : "1834136851025698846"
/// isDel : 0
/// createBy : "18735361162"
/// updateBy : "18735361162"
/// createTime : 1726127276
/// updateTime : 1726127299
/// name : "村东口位置"
/// lon : "112.54489"
/// lat : "37.85787"
/// address : "出入口标记点"
/// teamId : null
/// qrCode : "-1"
/// status : 1
/// areaLsgx : "578025145495453803"
/// sysType : "YJ_LINYE"
/// imageUrl : "business/6e480c08-541f-44eb-803a-4f0f507f8866.png"
/// content : "测试"
/// phone : "13000000001"
/// table_name : "check_point"

class OrganizationCheckPointDto {
  OrganizationCheckPointDto({
      String? id, 
      num? isDel, 
      String? createBy, 
      String? updateBy, 
      num? createTime, 
      num? updateTime, 
      String? name, 
      String? lon, 
      String? lat, 
      String? address, 
      dynamic teamId, 
      String? qrCode, 
      num? status, 
      String? areaLsgx, 
      String? sysType, 
      String? imageUrl, 
      String? content, 
      String? phone, 
      String? tableName,}){
    _id = id;
    _isDel = isDel;
    _createBy = createBy;
    _updateBy = updateBy;
    _createTime = createTime;
    _updateTime = updateTime;
    _name = name;
    _lon = lon;
    _lat = lat;
    _address = address;
    _teamId = teamId;
    _qrCode = qrCode;
    _status = status;
    _areaLsgx = areaLsgx;
    _sysType = sysType;
    _imageUrl = imageUrl;
    _content = content;
    _phone = phone;
    _tableName = tableName;
}

  OrganizationCheckPointDto.fromJson(dynamic json) {
    _id = json['id'];
    _isDel = json['isDel'];
    _createBy = json['createBy'];
    _updateBy = json['updateBy'];
    _createTime = json['createTime'];
    _updateTime = json['updateTime'];
    _name = json['name'];
    _lon = json['lon'];
    _lat = json['lat'];
    _address = json['address'];
    _teamId = json['teamId'];
    _qrCode = json['qrCode'];
    _status = json['status'];
    _areaLsgx = json['areaLsgx'];
    _sysType = json['sysType'];
    _imageUrl = json['imageUrl'];
    _content = json['content'];
    _phone = json['phone'];
    _tableName = json['table_name'];
  }
  String? _id;
  num? _isDel;
  String? _createBy;
  String? _updateBy;
  num? _createTime;
  num? _updateTime;
  String? _name;
  String? _lon;
  String? _lat;
  String? _address;
  dynamic _teamId;
  String? _qrCode;
  num? _status;
  String? _areaLsgx;
  String? _sysType;
  String? _imageUrl;
  String? _content;
  String? _phone;
  String? _tableName;
OrganizationCheckPointDto copyWith({  String? id,
  num? isDel,
  String? createBy,
  String? updateBy,
  num? createTime,
  num? updateTime,
  String? name,
  String? lon,
  String? lat,
  String? address,
  dynamic teamId,
  String? qrCode,
  num? status,
  String? areaLsgx,
  String? sysType,
  String? imageUrl,
  String? content,
  String? phone,
  String? tableName,
}) => OrganizationCheckPointDto(  id: id ?? _id,
  isDel: isDel ?? _isDel,
  createBy: createBy ?? _createBy,
  updateBy: updateBy ?? _updateBy,
  createTime: createTime ?? _createTime,
  updateTime: updateTime ?? _updateTime,
  name: name ?? _name,
  lon: lon ?? _lon,
  lat: lat ?? _lat,
  address: address ?? _address,
  teamId: teamId ?? _teamId,
  qrCode: qrCode ?? _qrCode,
  status: status ?? _status,
  areaLsgx: areaLsgx ?? _areaLsgx,
  sysType: sysType ?? _sysType,
  imageUrl: imageUrl ?? _imageUrl,
  content: content ?? _content,
  phone: phone ?? _phone,
  tableName: tableName ?? _tableName,
);
  String? get id => _id;
  num? get isDel => _isDel;
  String? get createBy => _createBy;
  String? get updateBy => _updateBy;
  num? get createTime => _createTime;
  num? get updateTime => _updateTime;
  String? get name => _name;
  String? get lon => _lon;
  String? get lat => _lat;
  String? get address => _address;
  dynamic get teamId => _teamId;
  String? get qrCode => _qrCode;
  num? get status => _status;
  String? get areaLsgx => _areaLsgx;
  String? get sysType => _sysType;
  String? get imageUrl => _imageUrl;
  String? get content => _content;
  String? get phone => _phone;
  String? get tableName => _tableName;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['isDel'] = _isDel;
    map['createBy'] = _createBy;
    map['updateBy'] = _updateBy;
    map['createTime'] = _createTime;
    map['updateTime'] = _updateTime;
    map['name'] = _name;
    map['lon'] = _lon;
    map['lat'] = _lat;
    map['address'] = _address;
    map['teamId'] = _teamId;
    map['qrCode'] = _qrCode;
    map['status'] = _status;
    map['areaLsgx'] = _areaLsgx;
    map['sysType'] = _sysType;
    map['imageUrl'] = _imageUrl;
    map['content'] = _content;
    map['phone'] = _phone;
    map['table_name'] = _tableName;
    return map;
  }

}